x86/mm: Fix checks during foreign mapping of paged pages
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 1 Dec 2011 17:21:24 +0000 (17:21 +0000)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 1 Dec 2011 17:21:24 +0000 (17:21 +0000)
commitcd4e6b47683cb5de139f82cf84abb6c57f1ee49f
treec95d54f1a10e747cdab715ff349121c04b4604c5
parent70af77fae7add9dc13c3e2a42f82953ed5a6374d
x86/mm: Fix checks during foreign mapping of paged pages

Check that the valid mfn is the one we are mapping, not the
mfn of the page table of the foreign domain.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm.c